package com.peng.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 字典值表
 * @TableName t_dic_value
 */
@TableName(value ="t_dic_value")
@Data
public class TDicValue implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键，自动增长，字典值ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 字典类型代码
     */
    @TableField(value = "type_code")
    private String type_code;

    /**
     * 字典值
     */
    @TableField(value = "type_value")
    private String type_value;

    /**
     * 字典值排序
     */
    @TableField(value = "order")
    private Integer order;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
}